﻿<Page
    x:Class="Mandoo.BlankPage1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Mandoo"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Page.Resources>
        <!--
            Collection of grouped items displayed by this page, bound to a subset
            of the complete item list because items in groups cannot be virtualized
        -->
        <CollectionViewSource
			x:Name="groupedItemsViewSource"
			Source="{Binding Groups}"
			IsSourceGrouped="true"
			ItemsPath="MenuOptions"/>

    </Page.Resources>



    <Grid Background="{StaticResource AppBarItemForegroundThemeBrush}">
        <GridView
    		x:Name="itemGridView"
    		AutomationProperties.AutomationId="ItemGridView"
    		AutomationProperties.Name="Grouped Items"
    		Padding="116,137,40,46"
    		ItemsSource="{Binding Source={StaticResource groupedItemsViewSource}}"
    		ItemTemplate="{StaticResource Standard250x250ItemTemplate}"
    		SelectionMode="None"
    		IsSwipeEnabled="false" CanDragItems="True" CanReorderItems="True" IsItemClickEnabled="True" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="315,95,0,-95">

            <GridView.ItemsPanel>
                <ItemsPanelTemplate>
                    <VirtualizingStackPanel Orientation="Horizontal"/>
                </ItemsPanelTemplate>
            </GridView.ItemsPanel>
            <GridView.GroupStyle>
                <GroupStyle>
                    <GroupStyle.HeaderTemplate>
                        <DataTemplate>
                            <Grid Margin="1,0,0,6">
                                <Button
    								AutomationProperties.Name="Group Title"
    								Style="{StaticResource TextPrimaryButtonStyle}">
                                    <StackPanel Orientation="Horizontal">
                                        <TextBlock Text="{Binding Title}" Margin="3,-7,10,10" Style="{StaticResource GroupHeaderTextStyle}" >
                                            <TextBlock.Foreground>
                                                <SolidColorBrush Color="{StaticResource Mandoo}"/>
                                            </TextBlock.Foreground>
                                        </TextBlock>
                                        <TextBlock Text="{StaticResource ChevronGlyph}" FontFamily="Segoe UI Symbol" Margin="0,-7,0,10" Style="{StaticResource GroupHeaderTextStyle}">
                                            <TextBlock.Foreground>
                                                <SolidColorBrush Color="{StaticResource Mandoo}"/>
                                            </TextBlock.Foreground>
                                        </TextBlock>
                                    </StackPanel>
                                </Button>
                            </Grid>
                        </DataTemplate>
                    </GroupStyle.HeaderTemplate>
                    <GroupStyle.Panel>
                        <ItemsPanelTemplate>
                            <VariableSizedWrapGrid Orientation="Vertical" Margin="0,0,80,0"/>
                        </ItemsPanelTemplate>
                    </GroupStyle.Panel>
                </GroupStyle>
            </GridView.GroupStyle>
        </GridView>
        <Grid HorizontalAlignment="Left" Height="135" VerticalAlignment="Top" Width="1366">
            <TextBlock HorizontalAlignment="Left" Margin="90,10,0,0" TextWrapping="Wrap" Text="Nuevo SMS" VerticalAlignment="Top" Height="62" Width="345" FontFamily="Open Sans Light" FontSize="48">
                <TextBlock.Foreground>
                    <SolidColorBrush Color="{StaticResource Title}"/>
                </TextBlock.Foreground>
            </TextBlock>
            <Button Content="Button" HorizontalAlignment="Left" VerticalAlignment="Top" Height="80" Width="75" Click="Button_Click_1" Foreground="{x:Null}" BorderBrush="{x:Null}" BorderThickness="0" Margin="-3,-4,0,0" Padding="0,0,0,3" IsHoldingEnabled="False" Template="{StaticResource ButtonBack}">
                <Button.Background>
                    <ImageBrush Stretch="None" ImageSource="Assets/back.png"/>
                </Button.Background>
            </Button>
        </Grid>

    </Grid>
</Page>